package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @author ：zfr
 * @date ：2021/7/21 14:44
 */
@FieldTypeAnnotation(tableName = "t_l_ck_wineshop_reward", desc = "酒肆收益日志", autoSave = true, uploadCk = true)
public class LogWineShopReward extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "道具id")
    private int itemId;
    @FieldTypeAnnotation(desc = "数量")
    private long count;
    @FieldTypeAnnotation(desc = "总收益")
    private long totalCount;
    @FieldTypeAnnotation(desc = "获取途径")
    private int getWay;
    @FieldTypeAnnotation(desc = "美女id")
    private int beautyId;

    public LogWineShopReward(long userId, int itemId, long count, long totalCount, int getWay, int beautyId) {
        this.userId = userId;
        this.itemId = itemId;
        this.count = count;
        this.totalCount = totalCount;
        this.getWay = getWay;
        this.beautyId = beautyId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(long totalCount) {
        this.totalCount = totalCount;
    }

    public int getGetWay() {
        return getWay;
    }

    public void setGetWay(int getWay) {
        this.getWay = getWay;
    }

    public int getBeautyId() {
        return beautyId;
    }

    public void setBeautyId(int beautyId) {
        this.beautyId = beautyId;
    }
}
